package com.pan.admin.quartz.entity.vo;

import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Description: 记录表数据处理
 * @Author: ghb
 * @Date: 2023/11/21 15:19
 */

public class LoanDistributeRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 机构id
     */
    private Integer loanProductId;

    /**
     * 最后执行人用户(客服)id
     */
    private Integer lastUserId;

    /**
     * 最后一个分配用户
     */
    private Integer lastLoanUserId;

    /**
     * 执行状态
     */
    private Integer executeStatus;

    /**
     * 更新或者新增 (0已存在，更新  1不存在，新增）
     */
    private Integer recordStatus;


    public Integer getRecordStatus() {
        return recordStatus;
    }

    public void setRecordStatus(Integer recordStatus) {
        this.recordStatus = recordStatus;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanProductId(Integer loanProductId) {
        this.loanProductId = loanProductId;
    }

    public Integer getLoanProductId() {
        return loanProductId;
    }

    public void setLastUserId(Integer lastUserId) {
        this.lastUserId = lastUserId;
    }

    public Integer getLastUserId() {
        return lastUserId;
    }

    public void setExecuteStatus(Integer executeStatus) {
        this.executeStatus = executeStatus;
    }

    public Integer getExecuteStatus() {
        return executeStatus;
    }

    public Integer getLastLoanUserId() {
        return lastLoanUserId;
    }

    public void setLastLoanUserId(Integer lastLoanUserId) {
        this.lastLoanUserId = lastLoanUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanProductId", getLoanProductId())
                .append("lastUserId", getLastUserId())
                .append("lastLoanUserId", getLastLoanUserId())
                .append("executeStatus", getExecuteStatus())
                .append("createTime", getCreateTime())
                .toString();
    }
}
